/*******************************************************************************
 * Copyright (c) 2011 LegSem.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl-3.0.txt
 * 
 * Contributors:
 *     LegSem - initial API and implementation
 ******************************************************************************/
package com.legstar.eci.xmi.model;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

public class PlatformCompilerInfo {
	
	@XStreamAsAttribute
	private String defaultAddressSize;

	@XStreamAsAttribute
	private boolean defaultBigEndian;

	@XStreamAsAttribute
	private String defaultCodepage;

	@XStreamAsAttribute
	private String defaultExternalDecimalSign;

	@XStreamAsAttribute
	private String defaultFloatType;

	@XStreamAsAttribute
	private String language;

	@XStreamAsAttribute
	private String id;

	/** {@inheritDoc}*/
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("[");
		sb.append("defaultAddressSize" + ":'" + defaultAddressSize + "'");
		sb.append(",");
		sb.append("defaultBigEndian" + ":" + defaultBigEndian + "");
		sb.append(",");
		sb.append("defaultCodepage" + ":'" + defaultCodepage + "'");
		sb.append(",");
		sb.append("defaultExternalDecimalSign" + ":'" + defaultExternalDecimalSign + "'");
		sb.append(",");
		sb.append("defaultFloatType" + ":'" + defaultFloatType + "'");
		sb.append(",");
		sb.append("language" + ":'" + language + "'");
		sb.append(",");
		sb.append("id" + ":'" + id + "'");
		sb.append("]");
		return sb.toString();
	}

	/**
	 * @return the defaultAddressSize
	 */
	public String getDefaultAddressSize() {
		return defaultAddressSize;
	}

	/**
	 * @return the defaultBigEndian
	 */
	public boolean getDefaultBigEndian() {
		return defaultBigEndian;
	}

	/**
	 * @return the defaultCodepage
	 */
	public String getDefaultCodepage() {
		return defaultCodepage;
	}

	/**
	 * @return the defaultExternalDecimalSign
	 */
	public String getDefaultExternalDecimalSign() {
		return defaultExternalDecimalSign;
	}

	/**
	 * @return the defaultFloatType
	 */
	public String getDefaultFloatType() {
		return defaultFloatType;
	}

	/**
	 * @return the language
	 */
	public String getLanguage() {
		return language;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

}
